import request from '@/utils/request';

// 账户列表
export function getListAcc(data) {
  return request({
    url: '/account/listAcc',
    method: 'post',
    data
  });
}
// 曝光明细列表
export function getlistDetail(data) {
  return request({
    url: '/account/listDetail',
    method: 'post',
    data
  });
}
// 曝光明细总数
export function getListDetailTotal(data) {
  return request({
    url: 'account/listDetailTotal',
    method: 'post',
    data
  });
}
// 调账
export function updateCount(data) {
  return request({
    url: '/account/audit',
    method: 'post',
    data
  });
}
// 获取机构名
export function getAgency(data) {
  return request({
    url: '/account/getAgency',
    method: 'get',
    params: data
  });
}
// 根据机构Id查询机构备注详情
export function getDetailByAgencyId(data) {
  return request({
    url: '/account/getRemarkDetail',
    method: 'post',
    data
  });
}
// 新增备注详情
export function addDetailRemark(data) {
  return request({
    url: '/account/addRemarkDetail',
    method: 'post',
    data
  });
}
